# -*- encoding: utf-8 -*- 
from django.conf.urls import patterns, include, url
from filebrowser.sites import site as filebrowser_site
from django.conf import settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'szydsite.views.home', name='home'),
    # url(r'^szydsite/', include('szydsite.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    url(r'^grappelli/', include('grappelli.urls')), #Admin美化插件
    url(r'^admin/filebrowser/', include(filebrowser_site.urls)), #文件浏览插件

    #mobile url partten
    url(r'^mobile/', include('mobile.urls')),
    
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

    url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.MEDIA_ROOT},name='media'),

    url(r'^tinymce/', include('tinymce.urls')),    #富文本编辑器插件

    
)
